p {
  margin: 0;
}

.role-management {
  width: 100%;
  background: #fff;
  padding: 24px;
  height: 100%;
  overflow: auto;

  &-title {
    font-weight: 600;
    color: #1e1f23;
    margin-bottom: 24px;
  }

  .ant-table {
    margin-bottom: 24px;
  }

  .role-list {
    margin-top: 30px;

    border-radius: 2px 2px 0 0;

    &:nth-of-type(2),
    &:nth-of-type(3) {
      .role-list-item {
        border: 1px solid #e8e8e8;

        &:not(:first-child) {
          border-top: 0;
        }
      }
    }

    &:nth-of-type(2) {
      p {
        border-bottom: 0;
      }
    }

    &-item {
      display: flex;
      align-items: center;
      border: 1px solid #e8e8e8;

      &-name {
        width: 180px;
        text-align: center;
      }

      &-content {
        border-left: 1px solid #e8e8e8;
        width: 100%;

        p {
          padding: 10px 0px 10px 20px;
          border-bottom: 1px solid #e8e8e8;

          &:last-of-type {
            border: none;
          }
        }
      }
    }
  }
}
